package com.glsc.ngateway.common.base.domain.mysql.opmanage.report.regulatory;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonInclude;
import lombok.Data;

import javax.persistence.*;
import java.math.BigInteger;
import java.util.Date;

/**
 * @author: qiyr
 * @date: 2022/6/30 19:07
 * @description: 监管报送定义实体类
 */
@Data
@Entity
@Table(name = "t_reg_rpt_define")
@JsonInclude(JsonInclude.Include.NON_NULL)
@JsonIgnoreProperties({"hibernateLazyInitializer", "handler"})
public class RegRptDefine {

    @Id
    @Column(name = "id" , columnDefinition = "bigint")
    @GeneratedValue(strategy = GenerationType.IDENTITY)
    private BigInteger id;

    @Column(name = "import_config_id" , columnDefinition = "bigint")
    private BigInteger importConfigId;

    @Column(name = "system_name")
    private String systemName;

    @Column(name = "report_name")
    private String reportName;

    @Column(name = "bi_report_id")
    private String biReportId;

    @Column(name = "inner_version")
    private String innerVersion;

    @Column(name = "outer_version")
    private String outerVersion;

    @Column(name = "freq")
    private String freq;

    @Column(name = "is_enable")
    private Integer isEnable;

    @Column(name = "enable_date")
    private Date enableDate;

    @Column(name = "expiry_date")
    private Date expiryDate;

    @Column(name = "bi_version")
    private String biVersion;

    public RegRptDefine() {
    }

    public RegRptDefine(BigInteger id, BigInteger importConfigId, String systemName, String reportName, String biReportId,
                        String innerVersion, String outerVersion, String freq, Integer isEnable, Date enableDate, Date expiryDate, String biVersion) {
        this.id = id;
        this.importConfigId = importConfigId;
        this.systemName = systemName;
        this.reportName = reportName;
        this.biReportId = biReportId;
        this.innerVersion = innerVersion;
        this.outerVersion = outerVersion;
        this.freq = freq;
        this.isEnable = isEnable;
        this.enableDate = enableDate;
        this.expiryDate = expiryDate;
        this.biVersion = biVersion;
    }

    public BigInteger getId() {
        return id;
    }

    public void setId(BigInteger id) {
        this.id = id;
    }

    public BigInteger getImportConfigId() {
        return importConfigId;
    }

    public void setImportConfigId(BigInteger importConfigId) {
        this.importConfigId = importConfigId;
    }

    public String getSystemName() {
        return systemName;
    }

    public void setSystemName(String systemName) {
        this.systemName = systemName;
    }

    public String getReportName() {
        return reportName;
    }

    public void setReportName(String reportName) {
        this.reportName = reportName;
    }

    public String getBiReportId() {
        return biReportId;
    }

    public void setBiReportId(String biReportId) {
        this.biReportId = biReportId;
    }

    public String getInnerVersion() {
        return innerVersion;
    }

    public void setInnerVersion(String innerVersion) {
        this.innerVersion = innerVersion;
    }

    public String getOuterVersion() {
        return outerVersion;
    }

    public void setOuterVersion(String outerVersion) {
        this.outerVersion = outerVersion;
    }

    public String getFreq() {
        return freq;
    }

    public void setFreq(String freq) {
        this.freq = freq;
    }

    public Integer getIsEnable() {
        return isEnable;
    }

    public void setIsEnable(Integer isEnable) {
        this.isEnable = isEnable;
    }

    public Date getEnableDate() {
        return enableDate;
    }

    public void setEnableDate(Date enableDate) {
        this.enableDate = enableDate;
    }

    public Date getExpiryDate() {
        return expiryDate;
    }

    public void setExpiryDate(Date expiryDate) {
        this.expiryDate = expiryDate;
    }

    public String getBiVersion() {
        return biVersion;
    }

    public void setBiVersion(String biVersion) {
        this.biVersion = biVersion;
    }
}
